package com.jiagouedu.services.front.address.impl;import com.jiagouedu.core.ServersManager;import com.jiagouedu.services.front.address.AddressService;import com.jiagouedu.services.front.address.bean.Address;import com.jiagouedu.services.front.address.dao.AddressDao;import org.springframework.stereotype.Service;import javax.annotation.Resource;@Service("addressServiceFront")public class AddressServiceImpl extends ServersManager<Address, AddressDao> implements        AddressService {    @Resource(name = "addressDaoFront")    @Override    public void setDao(AddressDao addressDao) {        this.dao = addressDao;    }    @Override	public void setAddressDefault(Address address) {		dao.initAllAddress(address);        dao.update(address);//设置指定的地址为默认地址	}}